﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PJ.Business
{
    /// <summary>
    /// <see cref="IDependentObject"/> services interface
    /// </summary>
    public interface IDependentObjectService : IBusinessObjectService
    {
        IEntityService OwnerService { get; }
    }

    /// <summary>
    /// <see cref="IDependentObject"/> services interface
    /// </summary>
    /// <typeparam name="TIDependentObject">Business <see cref="IDependentObject">Dependent object</see> interface type</typeparam>
    public interface IDependentObjectService<TIDependentObject> : IBusinessObjectService<TIDependentObject>, IDependentObjectService
        where TIDependentObject : class, IEntity
    {
    }
}
